<div class="offwork family citems" [class.rest]="isRest">
  <div class="title">
    {{ isRest ? data['restTitle'] : data['workTitle'] }}
  </div>
  <div class="coutdown" *ngIf="!isRest">{{ countdownStr }}</div>
  <img
    *ngIf="isRest; else other"
    src="assets/img/component/rest.svg"
    class="img"
  />
  <ng-template #other>
    <img src="assets/img/component/rest.svg" class="img" />
  </ng-template>
</div>
